<div>
    <input v-if="!fileInputDestroy" input type = file  accept=".xlsx" id="xlf"  style="display: none" @change="xlFileChange" >
        <el-table
                ref="baseTable"
                :data="excelDate"
                 stripe=true
                  page-size:20
        >
            <el-table-column prop="flightInfo.flightNum"  label="航班号"  min-width="120">
            </el-table-column>
            <el-table-column prop="normalAbnormality"  label="性质"  min-width="120">
            </el-table-column>
            <el-table-column  prop="flightInfo.flightType" label="机型" min-width="120" >
            </el-table-column>
            <el-table-column  prop="estimatedTime" label="安排日期" min-width="100" >
            </el-table-column>
            <el-table-column prop="importOrExport" label="进出港" min-width="100">
            </el-table-column>
            <el-table-column  label="预约航线" min-width="150" prop="originating">
                <template scope="scope">{{scope.row.originating+"-"+scope.row.destination}}</template>
            </el-table-column>
            <el-table-column prop="takeOffTime" label="预起" width="150">
            </el-table-column>
            <el-table-column prop="arriveTime" label="计达" width="150">
            </el-table-column>
        </el-table>
        <el-form :inline="true"   ref="formInline" class="demo-form-inline" label-width="100px"  style="margin-top: 20px;">
            <el-row>
                <el-col :span="4">
                    <el-form-item label="">
                        <el-input placeholder="请输入内容"   v-model="xlfName" v-loading="!jsLoaded">
                            <template slot="prepend"><label for="xlf" class="el-button el-button--primary">excel导入</label></template>
                        </el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item label=" ">
                        <el-button type="primary" @click="batchSave"> 保存</el-button>
                        <!--<el-button type="primary" @click="batchSaveAndPublish">保存发布</el-button>-->
                        <el-button type="primary" @click="cancelImport">取消导入</el-button>
                    </el-form-item>
                </el-col>
            </el-row>
        </el-form>
    </div>

</div>